
ADD AUXILIARY INPUTS TO THE DAEs (the auxiliary input array will be called 'auxdata').

With the following changes, the function testDriver.m works without problems, using the augmented DAE.
NOTE. The auxiliary input auxdata can be an array of any dimension.
NOTE. A threshold for the computation of the trigonometric function should be used,
      i.e. cos(pi/2) = 1e-17, so a threshold of 1e-15 is enough.
NOTE. Between two simulation, also if are the same, it is necessary to use the command
      "clear mex" to clear the workspace related to the mex file and have the right results.


bulirschMex.cpp
	- line 21: in the declaration of inputs of 'bul_stoe', add the following (I added between y and epsabs):  " REAL *auxdata, "
	- line ~49: in the list of REAL parameters, add the following (I added between epsrel and xstep):   " auxdata[], "
	- line ~85: " if (nrhs != 11) { ": change 11 with 12
	- line ~102: add, at the end of the list, the following:   " auxdata = mxGetPr(prhs[11]); "
	- line ~168: add the input " auxdata " to the bul_stoe function (I put it between yt and epsabs)


bulirsch.cpp
	- line 133: in the declaration of inputs of 'bul_stoe', add the following (I added between y and epsabs):  " REAL auxdata[], "
	- line ~327: replace with the following:  " (*dgl)(x0, fhilf[8], auxdata, fhilf[11]); "
	- line ~331: replace with the following:  " (*dgl)(x0, fhilf[9], auxdata, fhilf[11]); "
	- line ~338: replace with the following:  " (*dgl)(x0, fhilf[10], auxdata, fhilf[11]); "
	- line ~342: replace with the following:  " (*dgl)(x0, fhilf[9], auxdata, fhilf[11]); "


t_dgls.cpp
	- in each function declaration, add the following between y and f:  " REAL *auxdata "
	- line 431: replace with the following:  " f[0] = y[3] + auxdata[0]; "
	- line 432: replace with the following:  " f[1] = y[4] + auxdata[1]; "
	- line 433: replace with the following:  " f[2] = y[5] + auxdata[2]; "



basis.h
	- line 266: replace with the following:  " typedef REAL (*dglfnk)(REAL x, REAL y, REAL auxdata); "
	- line 272: replace with the following:  " typedef void (*dglsysfnk)(REAL x, REAL y[], REAL auxdata[], REAL f[]); "


BulirschStoerPropagator.m
	- line 72: add the following:  " Settings.auxdata "
	- line 100: add the following:  " Settings.auxdata = [0 0 0]; "


testDriver.m (as well as in 'testBS.m', in line 44)
	- line 60: add the following:  " Settings.auxdata = [0 0 0]; "